package com.hx.strategy.promotion;

/**
 * @author Huathy
 * @date 2021-08-30 22:04
 * @description
 */
public class PromotionAcitvity {
    private PromotionStrategy promotionStrategy;

    public PromotionAcitvity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void execute() {
        promotionStrategy.doPromotion();
    }
}
